<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>订单列表 - Powered By ${systemConfig.systemName}</title>
<meta name="Author" content="webmall Team" />
<meta name="Copyright" content="webmall" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<#include "/WEB-INF/template/common/include.ftl">
<link href="${base}/template/shop/css/login.css" rel="stylesheet" type="text/css" />
<link href="${base}/template/shop/css/register.css" rel="stylesheet" type="text/css" />
<link href="${base}/template/shop/css/member_center.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${base}/template/shop/js/login.js"></script>
<script type="text/javascript" src="${base}/template/shop/js/register.js"></script>
</head>
<body class="memberCenter">
	<#include "/WEB-INF/template/shop/header.ftl">
	<div class="body orderList">
		<div class="bodyLeft">
			<#include "/WEB-INF/template/shop/member_center_left.ftl">
		</div>
		<div class="bodyRight">
			<div class="memberCenterDetail">
				<div class="top">订单列表</div>
				<div class="middle">
					<div class="blank"></div>
						<table class="listTable">
							<tr>
								<th class="check">
									<input type="checkbox" class="allCheck" />
								</th>
								<th>
									<span class="sort" name="orderSn">订单编号</span>
								</th>
								<th>
									<span class="sort" name="member">用户名</span>
								</th>
								<th>
									<span class="sort" name="totalAmount">订单总额</span>
								</th>
								<th>
									<span class="sort" name="paymentStatus">付款状态</span>
								</th>
								<th>
									<span class="sort" name="paymentConfigName">支付方式</span>
								</th>
								<th>
									<span class="sort" name="deliveryTypeName">配送方式</span>
								</th>
								<th>
									<span class="sort" name="createDate">下单时间</span>
								</th>
								<th>
									操作
								</th>
							</tr>
							<#list pager.list as list>
								<tr>
									<td>
										<input type="checkbox" name="ids" value="${(list.id)!}" />
									</td>
									<td>
										${list.orderSn}
									</td>
									<td>
										${(list.member.username)!"-"}
									</td>
									<td>
										${list.totalAmount?string(orderUnitCurrencyFormat)}
									</td>
									<td>
										${action.getText("PaymentStatus." + list.paymentStatus)}
									</td>
									<td>
										${list.paymentConfigName}
									</td>
									<td>
										${list.deliveryTypeName}
									</td>
									<td>
										<span title="${list.createDate?string("yyyy-MM-dd HH:mm:ss")}">${list.createDate}</span>
									</td>
									<td>
										<a href="air_order!view.action?id=${list.id}" title="查看">[查看]</a>
									</td>
								</tr>
							</#list>
						</table>
						<#if (pager.list?size > 0)>
							<div class="pagerBar">
							
							</div>
						<#else>
							<div class="noRecord">
								没有找到任何记录!
							</div>
						</#if>
         			<div class="blank"></div>
         			<link href="${base}/template/shop/css/pager.css" rel="stylesheet" type="text/css" />
         			<#import "/WEB-INF/template/shop/pager.ftl" as p>
         			<@p.pager pager = pager baseUrl = "/shop/order!list.action" />
				</div>
				<div class="bottom"></div>
			</div>
		</div>
		<div class="blank"></div>
		<#include "/WEB-INF/template/shop/friend_link.ftl">
	</div>
	<div class="blank"></div>
	<#include "/WEB-INF/template/shop/footer.ftl">
</body>
</html>